<?php

use app\common\services\StaticServices;
use yii\helpers\Url;

?>
<?= Yii::$app->view->renderFile('@app/modules/admin/views/common/tab_med.php', ['tab' => 'set']) ?>
<div class="ui equal width grid">
    <div class="column">
        <div class="panel">
            <div class="panel-alone-content">
                <form class="ui form">
                    <div class="field">
                        <label>人员名称:</label>
                        <input type="text" name="user-name" placeholder=""
                               value="<?= isset($info['user_name']) ? $info['user_name'] : '' ?>">
                    </div>
                    <div class="field">
                        <label>人员电话:</label>
                        <input type="text" name="user-phone" placeholder=""
                               value="<?= isset($info['user_phone']) ? $info['user_phone'] : '' ?>">
                    </div>
                    <div class="field">
                        <label>人员证件号:</label>
                        <input type="text" name="user-ID" placeholder=""
                               value="<?= isset($info['user_ID']) ? $info['user_ID'] : '' ?>">
                    </div>

                    <div class="field">
                        <label>所属单位:</label>
                        <input type="text" name="user-company" placeholder=""
                               value="<?= isset($info['user_company']) ? $info['user_company'] : '' ?>">
                    </div>

                    <input type="hidden" name="_csrf" id='csrf' value="<?= Yii::$app->request->csrfToken ?>">
                    <input type="hidden" name="user-id" value="<?= isset($info['id']) ? $info['id'] : 0 ?>">
                    <button class="ui green basic button med-save  " type="button">提交</button>
                </form>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    require(['modules/mediation/set'], function (set) {
        set.set_mediation()
    });
</script>